import {
    Button,
    Tabbar,
    TabbarItem,
    Swipe,
    SwipeItem,
    Field,
    Form,
    NavBar,
    Overlay,
    ActionSheet,
    Cell,
    CellGroup,
    Tab,
    Tabs,
    DatetimePicker,
    Area,
    Calendar,
    Picker,
    Row,
    Col,
    Popup,
    ContactList,
    Radio,
    Checkbox,
    CheckboxGroup,
    Icon,
    DropdownMenu,
    DropdownItem,
    Grid,
    GridItem,
    Toast,
    Search,
    Sidebar,
    SidebarItem,
    Empty,
    Tag,
    Card,
    Uploader,
    ImagePreview,
    RadioGroup,
    List,
    IndexBar,
    TreeSelect,
    Progress
} from 'vant';


const vant = {
    install: function (Vue) {
        Vue.use(Tabbar);
        Vue.use(TabbarItem);
        Vue.use(Uploader);
        Vue.use(Icon);
        Vue.use(Search);
        Vue.use(DropdownMenu);
        Vue.use(DropdownItem);
        Vue.use(Button);
        Vue.use(Tag);
        Vue.use(Card);
        Vue.use(Field);
        Vue.use(Form);
        Vue.use(NavBar);
        Vue.use(Overlay);
        Vue.use(ActionSheet);
        Vue.use(Cell);
        Vue.use(CellGroup);
        Vue.use(Tab);
        Vue.use(Tabs);
 

        Vue.use(Empty);
        Vue.use(DatetimePicker);
        Vue.use(Area);
        Vue.use(Swipe);
        Vue.use(SwipeItem);
        Vue.use(Calendar);
        Vue.use(Picker);
        Vue.use(Col);
        Vue.use(Row);
        Vue.use(Popup);
        Vue.use(ContactList);
        Vue.use(Radio);
        Vue.use(RadioGroup);
        Vue.use(Checkbox);
        Vue.use(CheckboxGroup);
        Vue.use(Icon);
        Vue.use(Popup);
        Vue.use(Row);
        Vue.use(Col);
        Vue.use(Grid);
        Vue.use(GridItem);
        Vue.use(Toast);
        Vue.use(ImagePreview);
        Vue.use(Search);
        Vue.use(Sidebar);
        Vue.use(SidebarItem);
        //练习
        Vue.use(Grid);
        Vue.use(GridItem);
        Vue.use(Toast);
        Vue.use(Search);
        Vue.use(Sidebar);
        Vue.use(SidebarItem);
        Vue.use(RadioGroup);
        Vue.use(Radio);
        Vue.use(List);
        Vue.use(IndexBar);
        Vue.use(TreeSelect);
        Vue.use(Progress);
    }
}
export default vant